package com.emagic.manage.data.db.entry;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by xiatian on 2017/8/17.
 */
@Entity
public class RecordItem {
    @Id(autoincrement = true)
    private Long id;                   //唯一标示id
    private Long recordId;      
    private String itemid;             //巡检项id
    private String inspectionstate;    //巡检状态
    @Generated(hash = 1101326808)
    public RecordItem(Long id, Long recordId, String itemid,
            String inspectionstate) {
        this.id = id;
        this.recordId = recordId;
        this.itemid = itemid;
        this.inspectionstate = inspectionstate;
    }
    @Generated(hash = 260571639)
    public RecordItem() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getItemid() {
        return this.itemid;
    }
    public void setItemid(String itemid) {
        this.itemid = itemid;
    }
    public String getInspectionstate() {
        return this.inspectionstate;
    }
    public void setInspectionstate(String inspectionstate) {
        this.inspectionstate = inspectionstate;
    }
    public Long getRecordId() {
        return this.recordId;
    }
    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
}
